package com.hoshiicloud.market.service.commission;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.market.entity.commission.CommissionRecords;

/**
 * @Author:campchen
 * @Date:Created in 下午 01:50 2019/7/27
 * @PACKAGENAME com.hoshiicloud.market.service.commission
 * @Description
 */
public interface CommissionRecordsService extends IService<CommissionRecords> {
    CommissionRecords getCommissionRecordsById(Long id);

    String insert(CommissionRecords commissionRecords);

    boolean updateById(CommissionRecords commissionRecords);

    IPage<CommissionRecords> getPage(IPage<CommissionRecords> page, Wrapper<CommissionRecords> queryWrapper, String key);
}
